<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        fieldset{
            width: 400px;
            height: 200px;
            border: 4px solid brown;
        }
        legend{
            border: 4px solid brown;
            text-align: right;
            color: green;
            padding: 10px;
        }
    </style>
</head>
<body>
    <h1>表单进阶-字段集</h1>

    <fieldset>
        <legend>我乃智慧之神</legend>
        <input type="radio" name="aa">智慧
        <br>
        <input type="radio" name="aa">愚蠢
    </fieldset>
    <br>
    <fieldset>
        <legend>我乃智慧之神</legend>
        <input type="radio" name="aa">智慧
        <br>
        <input type="radio" name="aa">愚蠢
    </fieldset>
</body>
</html>